<!-- page content -->
<div class="right_col" role="main">
<h3>This is Thymeleaf test page.</h3>
<p>=========== download File ============</p>
<p><a href="/test/file?fileName=yes.jpg">下载</a></p>
<p>=========== upload File ============</p>
<p><span th:text="${error}"></span></p>
<p><img th:src="${path}" alt=""></p>
<form action="/test/file" method="post" enctype="multipart/form-data">
    <input type="file" name="file">
    <input type="submit" value="提交">
</form>
<p>==========th:text=========</p>
<p><span th:text="${message}"></span></p>
<p>==========th:if=========</p>
<p><span th:if="${checked} == true">The checked id true.</span></p>
<p>==========th:attr=========</p>
<p><input type="checkbox" th:checked="${checked}"></p>
<p><img style="max-width: 100px; max-height: 100px; " th:src="${src}"></p>
<p><a th:href="${href}">百度链接</a></p>
<p><a th:href="@{http://www.baidu.com}">百度</a></p>
<p>==========th:object=========</p>
<div th:object="${city}">
    <p>城市id：<span th:text="*{cityId}"></span></p>
    <p>城市名字：<span th:text="${city.cityName}"></span></p>
</div>

</div>